home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1994 October / Macformat17.cdr / Shareware City / Developers / New for Metrowerks C⁄C++ ƒ / MWANSI C⁄C++ Notes < prev   
Encoding:
Text File  |  1994-06-15  |  3.9 KB  |  105 lines  |  [TEXT/MMCC]

  1. Metrowerks release note for the ANSI C/C++ standard libraries
  2. =============================================================
  3.  
  4. Version: DR/3.5 libraries
  5. Date:    June 15th, 1994 
  6. Author:  Berardino Baratta
  7.  
  8. The enclosed libraries are the DR/3 source base but with many, many bug fixes.
  9. All known bugs with the C libraries have been fixed, and many of the C++ bugs
  10. are also fixed.  Performance of the 881 versions of the ANSI C libraries has
  11. been improved.  I've also greatly improved the speed of SIOUX while printing
  12. out text to its window.  Expect improvements on the order of 50% to 100%.
  13. I've also included a new control procedure to the SIOUX API which allows the
  14. user to specify how SIOUX handles buffering.  Look in the file "SIOUX.h" for
  15. the function call: 
  16.  
  17.     extern void SetSIOUXBufferMode(short bufferMode);
  18.  
  19. the buffermode is one of:
  20.  
  21.     SIOUXNoBuffering,        //    Use no buffering
  22.     SIOUXLineBuffering,        //    Use line buffering
  23.     SIOUXFullBuffering        //    Use full buffering
  24.  
  25. Buffering greatly affects the speed of SIOUX.  For example on a PowerMac 8100/80
  26. running native the times for writing out "Hello World\n" to SIOUX 100 times are
  27. in Ticks (1/60th of a second):
  28.  
  29. SIOUXNoBuffering:            334        Ticks
  30. SIOUXLineBuffering:            75        Ticks
  31. SIOUXFullBuffering:            17        Ticks
  32.  
  33. The C++ libraries "bitstring" and "string" are the same as on DR/3 just copy them
  34. over.
  35.  
  36. Also included with this release are the ANSI libraries needed to generate MPW Tools.
  37. Look for them in the folder "ANSI 68K for MPW Tools ƒ".  When building MPW Tools it
  38. is important to included these libraries into your project.
  39.  
  40. The libraries are named in the following manner:
  41. ================================================
  42.  
  43. ANSI C.xxx.Lib
  44. ==============
  45.     Where xxx can be either 68K (for 68K development) or PPC (for PowerPC
  46.     development).  These libraries contain all the ANSI C standard library
  47.     functions.
  48.  
  49. ANSI C++.xxx.Lib
  50. ================
  51.     Again where xxx can be either 68K (for 68K development) or PPC (for PowerPC
  52.     development).  These libraries contain ANSI C++ standard library functions.
  53.     For this release this consists mainly of the Stream classes.  Some classes
  54.     are missing from this release but they will be provided as they become
  55.     available.  This library needs functions found in ANSI C.xxx.Lib to be able
  56.     to properly link.
  57.  
  58. 68K Library naming conventions
  59. ==============================
  60.  
  61. On the CD there is a more complete set of libraries for 68K machines.  The
  62. naming convention for these libraries are as follows:
  63.  
  64. #i    This gives the size of ints for the library.  (i.e. 2i 2 byte ints, 4i 4
  65.     byte ints)
  66.     
  67. 881    This means that the library was built for use with FPU equipped macintoshes.
  68.     Not having this means that the libraries were built for use with all macintoshes.
  69.  
  70. 8d    This means that the library was built with 8 byte IEEE doubles.  Not having
  71.     this means that doubles are the same size as long doubles and extended types.
  72.     (i.e. 10 byte when using SANE and 12 byte when using the FPU)
  73.  
  74. A4    This means that the library was built with A4 relative data.  These libraries
  75.     are used for building resources.
  76.  
  77. Common Problems
  78. ===============
  79.  
  80. I cannot guarantee that the ANSI libraries are 100% bug free, but many reported
  81. bugs can be traced to an improper choice of library version.  Please be certain
  82. that your build settings match those used by the library.
  83.  
  84. For example:
  85. If your build uses FPU (68881) code generation with 8 byte doubles, then you should
  86. link against the ANSI(881/8d) libraries.
  87.  
  88. NB: This only applies to 68K builds, on PowerPC there is only one set of libraries.
  89.  
  90. Bug Reports
  91. ===========
  92.  
  93. Please send in your bug reports using the Applelink/Internet BugReport stored
  94. in the release notes folder. Send reports to:
  95.  
  96. Applelink:  SUPPORTWERKS
  97.        cc:    BBARATTA
  98. Internet:   support@metrowerks.ca
  99.       cc:    baratta@metrowerks.ca
  100.  
  101. -------------------------------------------------------------------------
  102. Berardino Baratta
  103. CodeWarrior Software Engineer
  104. Metrowerks, Inc.
  105.